<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ page import="de.graffiti.beans.WallpaperBean"%>
<%@ page import="java.util.Enumeration"%>

<%
	WallpaperBean wp = (WallpaperBean) request.getAttribute("wallpaperBean");
%>

<html>
<head>
</head>
<body>
<f:view>
<h:form id="link">
    <h:commandLink value="edit" action="#{wallpaperBean.edit}" target="_blank">
    	<f:param name="wallpaperid" value="#{wallpaperBean.wallpaperid}" />
    </h:commandLink>
    <br/>
  <h1><h:outputText value="#{wallpaperBean.wallpaper.title}" /></h1>

</h:form>

  <h:graphicImage value="http://localhost:8080/graffitiWeb/ContentServlet?contentid=#{wallpaperBean.wallpaper.paintedcontentid}"
  style="margin-top:200px" id="test" styleClass="background" >
</h:graphicImage>
</f:view>
</body>
</html>
